//
//  main.m
//  class
//
//  Created by 钟纪旺 on 16/4/15.
//  Copyright © 2016年 zjw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "zhixing.h"
#import "zhixing2.h"
int main(int argc, const char * argv[]) {
    @autoreleasepool {
        
    zhixing *s = [[zhixing alloc] init];
    mima    *k =[[mima alloc]init];
    zhixing2 *r = [[zhixing2 alloc] init];
    mima2    *m =[[mima2 alloc]init];
        k.delegate=s;
        m.delegate=r;
        [k getName];
        [m getName];
    }
    return 0;
}
